﻿using System;
using System.Collections.Generic;
using System.Text;

namespace T.FAS.Runtime.Action.SPI
{
    /// <summary>
    /// 调用Action的类型
    /// </summary>
    public enum ActionType
    {
        /// <summary>
        /// Action调用
        /// </summary>
        Action,
        /// <summary>
        /// DQ
        /// </summary>
        DQ,
        /// <summary>
        /// CDO
        /// </summary>
        CDO,
        /// <summary>
        /// 表达式
        /// </summary>
        Expr,
        /// <summary>
        /// DO
        /// </summary>
        DO,
        /// <summary>
        /// EO
        /// </summary>
        EO,
        /// <summary>
        /// CDO-创建一个新的对象
        /// </summary>
        CDO_NewInstance,
        /// <summary>
        /// CDO-保存对象
        /// </summary>
        CDO_Create,
        /// <summary>
        /// CDO-删除对象
        /// </summary>
        CDO_Delete,
        /// <summary>
        /// CDO-更新对象
        /// </summary>
        CDO_Update,
        /// <summary>
        /// CDO-根据ID获取对象
        /// </summary>
        CDO_GetByID,
        /// <summary>
        /// CDO-变更状态
        /// </summary>
        CDO_ChangeState,
        /// <summary>
        /// CDO-触发事件
        /// </summary>
        CDO_FireEvent,
        /// <summary>
        /// CDO-触发事件带Record参数
        /// </summary>
        CDO_FireEventWithRecord,
        /// <summary>
        /// 服务端SQL脚本
        /// </summary>
        SQL,
        /// <summary>
        /// CDO批量删除
        /// </summary>
        CDO_BatchDelete,
        /// <summary>
        /// CDO批量更新
        /// </summary>
        CDO_BatchUpdate,
        /// <summary>
        /// CDO批量新增
        /// </summary>
        CDO_BatchCreate,
        /// <summary>
        /// CDO批量编辑修改更新
        /// </summary>
        CDO_BatchEditUpdate,

    }
}
